package chapter2.No2_2_synchronized同步语句块.m内置类与静态内置类.demo2;

import chapter2.No2_2_synchronized同步语句块.m内置类与静态内置类.demo2.PublicClass.StaticClass;

/**
 * 静态内置类！
 *
 * @author liujian
 * @version 2016/11/14 0014
 */
public class Main {

    public static void main(String[] args) {
        PublicClass publicClass = new PublicClass();
        publicClass.setUserName("liu");
        publicClass.setPsw("jian");
        System.out.println(publicClass.toString());

        StaticClass staticClass = new StaticClass();
        staticClass.setAge(31);
        staticClass.setAddress("湖南");
        System.out.println(staticClass.toString());

    }

}
